package com.example.volleyball.playcharting.android;
import sharedClasses.*;
import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.widget.TextView;

public class InstructionsActivity extends Activity{
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        setContentView(R.layout.instructions);
        TextView descript = (TextView)findViewById(R.id.description);
        descript.setText("\nTo input a new play, simply press new, and then tap the places on the screen where the ball went."
        		+ " The home team's side of the court is always on the left."
        		+ " When you're done inputting a play, tap the done button, and specify who the point went to."
        		+ " If you make a mistake while inputting the play, simply clear the play, and draw it again."
        		+ "\nFrom the data insert screen, you can run a quick analysis. This will run the engine on the"
        		+ "\ncurrent match.\n"
        		+ "\nThe engine returns three types of patterns:"
        		+ "\n1. The home team's most effective plays"
        		+ "\n2. The opposing team's most effective plays"
        		+ "\n3. How the opponent most commonly responds in serve-receive\n"
        		+ "\nFrom the home screen, you can also run this analysis on all of the data for a season."
        		+ " This will return the three types of analysis from above for all of the rotations, and"
        		+ " using only data from each of the six rotations."
        		+ "\nThe beginning of an action has a green dot, and the end has a red dot.");
        
	}

}
